import { User } from './user.mongo.entity';

export const UserProviders = [
    {
        provide: 'USER_REPOSITORY',
        useFactory: async (AppDataSource: any) => await AppDataSource.getRepository(User),
        inject: ['MONGODB_DATA_SOURCE'],
    },
];